<?php
require_once 'anet_php_sdk/AuthorizeNet.php'; // The SDK
$url = "http://localhost/research/authorize.net/direct_post.php";
$api_login_id = '9Pvvy3X5D7';
$transaction_key = '8Js832W29kmWkpZE';
$md5_setting = '9Pvvy3X5D7'; // Your MD5 Setting
$amount = "5.99";
AuthorizeNetDPM::directPostDemo($url, $api_login_id, $transaction_key, $amount, $md5_setting);
?>